package com.prik.factory.method;

import com.prik.factory.method.pizza.Pizza;
import com.prik.factory.method.store.SHPizzaStore;

/**
 * 测试类
 **/
public class Test {
    public static void main(String[] args) {
        // 首先需要一个上海披萨店
        SHPizzaStore shPizzaStore = new SHPizzaStore();
        // 然后点单
        Pizza pizza = shPizzaStore.orderPizza("cheese");
    }
}